[INFO] cloning repository https://github.com/tiberiusferreira/gpu_compute
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tiberiusferreira/gpu_compute" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiberiusferreira%2Fgpu_compute", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiberiusferreira%2Fgpu_compute'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6af1d42fdfb78620814282e1807d6a6682c1f8d0
[INFO] checking tiberiusferreira/gpu_compute against master#158f00a1c5175648af6f6099b075f78d1d014a28 for pr-121251
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiberiusferreira%2Fgpu_compute" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/tiberiusferreira/gpu_compute on toolchain 158f00a1c5175648af6f6099b075f78d1d014a28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/tiberiusferreira/gpu_compute
[INFO] finished tweaking git repo https://github.com/tiberiusferreira/gpu_compute
[INFO] tweaked toml for git repo https://github.com/tiberiusferreira/gpu_compute written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/tiberiusferreira/gpu_compute already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded gfx-auxil v0.5.0
[INFO] [stderr]   Downloaded wgpu-types v0.6.0
[INFO] [stderr]   Downloaded wgpu-core v0.6.0
[INFO] [stderr]   Downloaded gfx-backend-metal v0.6.1
[INFO] [stderr]   Downloaded gfx-backend-dx11 v0.6.0
[INFO] [stderr]   Downloaded gfx-backend-dx12 v0.6.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2b6215f5b8449d48e0c726e1a211c0027f31913a62c06ef121987c57cb2e6db1
[INFO] running `Command { std: "docker" "start" "-a" "2b6215f5b8449d48e0c726e1a211c0027f31913a62c06ef121987c57cb2e6db1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2b6215f5b8449d48e0c726e1a211c0027f31913a62c06ef121987c57cb2e6db1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b6215f5b8449d48e0c726e1a211c0027f31913a62c06ef121987c57cb2e6db1", kill_on_drop: false }`
[INFO] [stdout] 2b6215f5b8449d48e0c726e1a211c0027f31913a62c06ef121987c57cb2e6db1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1ba61f0c9b8fa83d03f59859c4fce1a8bfa6a8012264fbb936ba61ba4695af7d
[INFO] running `Command { std: "docker" "start" "-a" "1ba61f0c9b8fa83d03f59859c4fce1a8bfa6a8012264fbb936ba61ba4695af7d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.76
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.39
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]    Compiling libloading v0.6.3
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling pkg-config v0.3.18
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]     Checking futures-core v0.3.5
[INFO] [stderr]     Checking raw-window-handle v0.3.3
[INFO] [stderr]     Checking smallvec v1.4.2
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.34
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]     Checking gfx-hal v0.6.0
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling wayland-scanner v0.23.6
[INFO] [stderr]     Checking mio v0.6.22
[INFO] [stderr]     Checking dlib v0.4.2
[INFO] [stderr]     Checking futures-io v0.3.5
[INFO] [stderr]     Checking lazycell v1.3.0
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]     Checking once_cell v1.4.1
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking ordered-float v1.1.0
[INFO] [stderr]     Checking wayland-sys v0.23.6
[INFO] [stderr]    Compiling x11 v2.18.2
[INFO] [stderr]     Checking fxhash v0.2.1
[INFO] [stderr]     Checking stb_truetype v0.3.1
[INFO] [stderr]     Checking mio-extras v2.0.6
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling proc-macro-hack v0.5.18
[INFO] [stderr]     Checking instant v0.1.6
[INFO] [stderr]     Checking futures-sink v0.3.5
[INFO] [stderr]     Checking rusttype v0.8.3
[INFO] [stderr]     Checking futures-channel v0.3.5
[INFO] [stderr]     Checking futures-task v0.3.5
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking arrayvec v0.5.1
[INFO] [stderr]     Checking atom v0.3.5
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]     Checking downcast-rs v1.2.0
[INFO] [stderr]     Checking hibitset v0.6.3
[INFO] [stderr]     Checking walkdir v2.3.1
[INFO] [stderr]     Checking rusttype v0.7.9
[INFO] [stderr]     Checking parking_lot_core v0.8.0
[INFO] [stderr]     Checking spirv_headers v1.5.0
[INFO] [stderr]     Checking line_drawing v0.7.0
[INFO] [stderr]     Checking lock_api v0.4.1
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]     Checking ash v0.31.0
[INFO] [stderr]     Checking tracing-core v0.1.15
[INFO] [stderr]    Compiling wayland-client v0.23.6
[INFO] [stderr]    Compiling wayland-protocols v0.23.6
[INFO] [stderr]     Checking xdg v2.2.0
[INFO] [stderr]     Checking wayland-commons v0.23.6
[INFO] [stderr]     Checking calloop v0.4.4
[INFO] [stderr]     Checking inplace_it v0.3.2
[INFO] [stderr]     Checking cache-padded v1.1.1
[INFO] [stderr]     Checking concurrent-queue v1.2.2
[INFO] [stderr]     Checking tracing v0.1.19
[INFO] [stderr]     Checking parking_lot v0.11.0
[INFO] [stderr]     Checking andrew v0.2.1
[INFO] [stderr]     Checking gfx-descriptor v0.2.0
[INFO] [stderr]     Checking gfx-memory v0.2.0
[INFO] [stderr]     Checking gfx-backend-empty v0.6.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]     Checking parking_lot_core v0.7.2
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking aho-corasick v0.7.13
[INFO] [stderr]     Checking wgpu-types v0.6.0
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]     Checking waker-fn v1.0.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.9
[INFO] [stderr]     Checking pin-project-lite v0.1.7
[INFO] [stderr]     Checking fastrand v1.3.4
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking parking v2.0.0
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]     Checking regex-syntax v0.6.18
[INFO] [stderr]     Checking copyless v0.1.5
[INFO] [stderr]     Checking event-listener v2.4.0
[INFO] [stderr]     Checking async-channel v1.4.0
[INFO] [stderr]     Checking futures-lite v0.1.11
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]     Checking parking_lot v0.10.2
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking parking v1.0.6
[INFO] [stderr]     Checking typed-arena v2.0.1
[INFO] [stderr]     Checking termcolor v1.1.0
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking atomic-waker v1.0.0
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking bytemuck v1.3.1
[INFO] [stderr]     Checking blocking v0.4.7
[INFO] [stderr]     Checking regex v1.3.9
[INFO] [stderr]    Compiling futures-macro v0.3.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.20
[INFO] [stderr]    Compiling zerocopy-derive v0.2.0
[INFO] [stderr]    Compiling async-trait v0.1.38
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking zerocopy v0.3.0
[INFO] [stderr]     Checking thiserror v1.0.20
[INFO] [stderr]     Checking naga v0.2.0
[INFO] [stderr]     Checking pin-project v0.4.23
[INFO] [stderr]     Checking futures-util v0.3.5
[INFO] [stderr]     Checking gfx-backend-vulkan v0.6.1
[INFO] [stderr]     Checking wgpu-core v0.6.0
[INFO] [stderr]     Checking futures-executor v0.3.5
[INFO] [stderr]     Checking futures v0.3.5
[INFO] [stderr]     Checking wgpu v0.6.2
[INFO] [stderr]     Checking smithay-client-toolkit v0.6.6
[INFO] [stderr]     Checking winit v0.22.2
[INFO] [stderr]     Checking tensor_compute v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `CpuTransferable`, `GpuTensor`
[INFO] [stdout]   --> src/tensors/gpu_tensor/gpu_ops/unary_ops/mod.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 |     use crate::{GpuTensor, CpuTransferable};
[INFO] [stdout]    |                 ^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `index_to_dim_stride::shape_strides_for_slice_range`
[INFO] [stdout]  --> src/tensors/gpu_tensor/indexing/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use index_to_dim_stride::shape_strides_for_slice_range;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `index_to_dim_stride::shape_strides_for_slice_range`
[INFO] [stdout]  --> src/tensors/gpu_tensor/indexing/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use index_to_dim_stride::shape_strides_for_slice_range;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Shared` is never used
[INFO] [stdout]  --> src/autograd.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 | type Shared<T> = Arc<RwLock<T>>;
[INFO] [stdout]   |      ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Op` is never used
[INFO] [stdout]   --> src/autograd.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | enum Op{
[INFO] [stdout]    |      ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `propagate_grad` is never used
[INFO] [stdout]   --> src/autograd.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Op{
[INFO] [stdout]    | ------- method in this implementation
[INFO] [stdout] 17 |     pub fn propagate_grad(&self, child_grad: &RawTensor){
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tensor` is never constructed
[INFO] [stdout]   --> src/autograd.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Tensor {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Tensor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VariableData` is never constructed
[INFO] [stdout]   --> src/autograd.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct VariableData{
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `VariableData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/autograd.rs:51:12
[INFO] [stdout]     |
[INFO] [stdout] 48  | impl Tensor {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 51  |     pub fn shallow_clone(&self) -> Self{
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57  |     pub fn to_vec(&self) -> Vec<f32>{
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62  |     pub fn read_lock(&self) -> RwLockReadGuard<VariableData>{
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67  |     pub fn write_lock(&self) -> RwLockWriteGuard<VariableData>{
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77  |     pub fn set_grad(&mut self, grad: Tensor){
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83  |     pub fn from_data_and_shape(data: Vec<f32>, shape: Vec<usize>) -> Self{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94  |     pub fn matmul(&self, other_var: &Tensor) -> Self{
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn exp(&self) -> Self{
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn sum(&self) -> Self{
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn backward(&self){
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_matmul_grad` is never used
[INFO] [stdout]  --> src/autograd/ops.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn set_matmul_grad(left: &Tensor, right: &Tensor, child_grad: &RawTensor){
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_exp_grad` is never used
[INFO] [stdout]   --> src/autograd/ops.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn set_exp_grad(original_input: &Tensor, child_grad: &RawTensor){
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_sum_grad` is never used
[INFO] [stdout]   --> src/autograd/ops.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn set_sum_grad(original_input: &Tensor, child_grad: &RawTensor){
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shape_strides_for_slice_range` is never used
[INFO] [stdout]  --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn shape_strides_for_slice_range<T: Into<SliceRangeInfo>>(
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/tensors/cpu_tensor.rs:171:17
[INFO] [stdout]     |
[INFO] [stdout] 171 | /                 format!(
[INFO] [stdout] 172 | |                     "tried indexing element {} when dimension length was: {}",
[INFO] [stdout] 173 | |                     *idx + 1,
[INFO] [stdout] 174 | |                     shape
[INFO] [stdout] 175 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 171 ~                 
[INFO] [stdout] 172 |                     "tried indexing element {} when dimension length was: {}",
[INFO] [stdout] 173 |                     *idx + 1,
[INFO] [stdout] 174 |                     shape
[INFO] [stdout] 175 ~                 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/mod.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 | /                 format!(
[INFO] [stdout] 20 | |                     "Start ({:?}) needs to be smaller than end ({:?}).",
[INFO] [stdout] 21 | |                     start,
[INFO] [stdout] 22 | |                     isize_end - 1
[INFO] [stdout] 23 | |                 )
[INFO] [stdout]    | |_________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 19 ~                 
[INFO] [stdout] 20 |                     "Start ({:?}) needs to be smaller than end ({:?}).",
[INFO] [stdout] 21 |                     start,
[INFO] [stdout] 22 |                     isize_end - 1
[INFO] [stdout] 23 ~                 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 | /             format!(
[INFO] [stdout] 28 | |                 "Indexing out of range! Tried to get the element \
[INFO] [stdout] 29 | |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 30 | |                 start, *shape
[INFO] [stdout] 31 | |             )
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 27 ~             
[INFO] [stdout] 28 |                 "Indexing out of range! Tried to get the element \
[INFO] [stdout] 29 |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 30 |                 start, *shape
[INFO] [stdout] 31 ~             
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 | /                 format!(
[INFO] [stdout] 43 | |                     "Indexing out of range! Tried to get the element \
[INFO] [stdout] 44 | |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 45 | |                     inclusive_end, *shape
[INFO] [stdout] 46 | |                 )
[INFO] [stdout]    | |_________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 42 ~                 
[INFO] [stdout] 43 |                     "Indexing out of range! Tried to get the element \
[INFO] [stdout] 44 |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 45 |                     inclusive_end, *shape
[INFO] [stdout] 46 ~                 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/autograd.rs:182:9
[INFO] [stdout]     |
[INFO] [stdout] 182 |     let mut c = left.sum();
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GpuStore`, `RawTensor`, `s`
[INFO] [stdout]  --> examples/assignment/main.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use tensor_compute::{s, GpuStore, RawTensor};
[INFO] [stdout]   |                      ^  ^^^^^^^^  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_vec` is never used
[INFO] [stdout]   --> src/autograd.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 48 | impl Tensor {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn to_vec(&self) -> Vec<f32>{
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/tensors/cpu_tensor.rs:171:17
[INFO] [stdout]     |
[INFO] [stdout] 171 | /                 format!(
[INFO] [stdout] 172 | |                     "tried indexing element {} when dimension length was: {}",
[INFO] [stdout] 173 | |                     *idx + 1,
[INFO] [stdout] 174 | |                     shape
[INFO] [stdout] 175 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 171 ~                 
[INFO] [stdout] 172 |                     "tried indexing element {} when dimension length was: {}",
[INFO] [stdout] 173 |                     *idx + 1,
[INFO] [stdout] 174 |                     shape
[INFO] [stdout] 175 ~                 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/tensors/gpu_tensor/gpu_ops/unary_ops/mod.rs:62:33
[INFO] [stdout]    |
[INFO] [stdout] 62 |             assert!(err < 0.01, err);
[INFO] [stdout]    |                                 ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 62 |             assert!(err < 0.01, "{}", err);
[INFO] [stdout]    |                                 +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/mod.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 | /                 format!(
[INFO] [stdout] 20 | |                     "Start ({:?}) needs to be smaller than end ({:?}).",
[INFO] [stdout] 21 | |                     start,
[INFO] [stdout] 22 | |                     isize_end - 1
[INFO] [stdout] 23 | |                 )
[INFO] [stdout]    | |_________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 19 ~                 
[INFO] [stdout] 20 |                     "Start ({:?}) needs to be smaller than end ({:?}).",
[INFO] [stdout] 21 |                     start,
[INFO] [stdout] 22 |                     isize_end - 1
[INFO] [stdout] 23 ~                 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 | /             format!(
[INFO] [stdout] 28 | |                 "Indexing out of range! Tried to get the element \
[INFO] [stdout] 29 | |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 30 | |                 start, *shape
[INFO] [stdout] 31 | |             )
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 27 ~             
[INFO] [stdout] 28 |                 "Indexing out of range! Tried to get the element \
[INFO] [stdout] 29 |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 30 |                 start, *shape
[INFO] [stdout] 31 ~             
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 | /                 format!(
[INFO] [stdout] 43 | |                     "Indexing out of range! Tried to get the element \
[INFO] [stdout] 44 | |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 45 | |                     inclusive_end, *shape
[INFO] [stdout] 46 | |                 )
[INFO] [stdout]    | |_________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 42 ~                 
[INFO] [stdout] 43 |                     "Indexing out of range! Tried to get the element \
[INFO] [stdout] 44 |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 45 |                     inclusive_end, *shape
[INFO] [stdout] 46 ~                 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.30s
[INFO] running `Command { std: "docker" "inspect" "1ba61f0c9b8fa83d03f59859c4fce1a8bfa6a8012264fbb936ba61ba4695af7d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ba61f0c9b8fa83d03f59859c4fce1a8bfa6a8012264fbb936ba61ba4695af7d", kill_on_drop: false }`
[INFO] [stdout] 1ba61f0c9b8fa83d03f59859c4fce1a8bfa6a8012264fbb936ba61ba4695af7d
[INFO] checking tiberiusferreira/gpu_compute against try#b4fc5dbf0bc33be331f9d893db5b3a794f29724a+rustflags=-Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds for pr-121251
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiberiusferreira%2Fgpu_compute" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/tiberiusferreira/gpu_compute on toolchain b4fc5dbf0bc33be331f9d893db5b3a794f29724a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/tiberiusferreira/gpu_compute
[INFO] finished tweaking git repo https://github.com/tiberiusferreira/gpu_compute
[INFO] tweaked toml for git repo https://github.com/tiberiusferreira/gpu_compute written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/tiberiusferreira/gpu_compute already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dd1e942a42ed04aa9096c5bfa47813918457fb1c84640ba35cab11cf32083a10
[INFO] running `Command { std: "docker" "start" "-a" "dd1e942a42ed04aa9096c5bfa47813918457fb1c84640ba35cab11cf32083a10", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dd1e942a42ed04aa9096c5bfa47813918457fb1c84640ba35cab11cf32083a10", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dd1e942a42ed04aa9096c5bfa47813918457fb1c84640ba35cab11cf32083a10", kill_on_drop: false }`
[INFO] [stdout] dd1e942a42ed04aa9096c5bfa47813918457fb1c84640ba35cab11cf32083a10
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dfc6ea7c15748e82149e74cdcb925e5b82c8eaba9cd6bcd9221a04f0f1030132
[INFO] running `Command { std: "docker" "start" "-a" "dfc6ea7c15748e82149e74cdcb925e5b82c8eaba9cd6bcd9221a04f0f1030132", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.76
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling syn v1.0.39
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]    Compiling libloading v0.6.3
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling pkg-config v0.3.18
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]     Checking raw-window-handle v0.3.3
[INFO] [stderr]     Checking smallvec v1.4.2
[INFO] [stderr]     Checking futures-core v0.3.5
[INFO] [stderr]     Checking net2 v0.2.34
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking gfx-hal v0.6.0
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling wayland-scanner v0.23.6
[INFO] [stderr]     Checking mio v0.6.22
[INFO] [stderr]     Checking dlib v0.4.2
[INFO] [stderr]     Checking lazycell v1.3.0
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]     Checking futures-io v0.3.5
[INFO] [stderr]     Checking once_cell v1.4.1
[INFO] [stderr]     Checking ordered-float v1.1.0
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking wayland-sys v0.23.6
[INFO] [stderr]    Compiling x11 v2.18.2
[INFO] [stderr]     Checking fxhash v0.2.1
[INFO] [stderr]     Checking stb_truetype v0.3.1
[INFO] [stderr]     Checking futures-sink v0.3.5
[INFO] [stderr]     Checking mio-extras v2.0.6
[INFO] [stderr]     Checking instant v0.1.6
[INFO] [stderr]    Compiling proc-macro-hack v0.5.18
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]     Checking futures-channel v0.3.5
[INFO] [stderr]     Checking rusttype v0.8.3
[INFO] [stderr]     Checking futures-task v0.3.5
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking arrayvec v0.5.1
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking downcast-rs v1.2.0
[INFO] [stderr]     Checking atom v0.3.5
[INFO] [stderr]     Checking hibitset v0.6.3
[INFO] [stderr]     Checking walkdir v2.3.1
[INFO] [stderr]     Checking rusttype v0.7.9
[INFO] [stderr]     Checking parking_lot_core v0.8.0
[INFO] [stderr]     Checking line_drawing v0.7.0
[INFO] [stderr]     Checking spirv_headers v1.5.0
[INFO] [stderr]     Checking lock_api v0.4.1
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]     Checking ash v0.31.0
[INFO] [stderr]     Checking tracing-core v0.1.15
[INFO] [stderr]     Checking inplace_it v0.3.2
[INFO] [stderr]    Compiling wayland-client v0.23.6
[INFO] [stderr]     Checking calloop v0.4.4
[INFO] [stderr]     Checking wayland-commons v0.23.6
[INFO] [stderr]    Compiling wayland-protocols v0.23.6
[INFO] [stderr]     Checking xdg v2.2.0
[INFO] [stderr]     Checking cache-padded v1.1.1
[INFO] [stderr]     Checking concurrent-queue v1.2.2
[INFO] [stderr]     Checking tracing v0.1.19
[INFO] [stderr]     Checking parking_lot v0.11.0
[INFO] [stderr]     Checking gfx-memory v0.2.0
[INFO] [stderr]     Checking gfx-descriptor v0.2.0
[INFO] [stderr]     Checking andrew v0.2.1
[INFO] [stderr]     Checking gfx-backend-empty v0.6.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]     Checking parking_lot_core v0.7.2
[INFO] [stderr]     Checking aho-corasick v0.7.13
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking wgpu-types v0.6.0
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]     Checking parking v2.0.0
[INFO] [stderr]     Checking pin-project-lite v0.1.7
[INFO] [stderr]     Checking copyless v0.1.5
[INFO] [stderr]     Checking ppv-lite86 v0.2.9
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking waker-fn v1.0.0
[INFO] [stderr]     Checking regex-syntax v0.6.18
[INFO] [stderr]     Checking event-listener v2.4.0
[INFO] [stderr]     Checking fastrand v1.3.4
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking futures-lite v0.1.11
[INFO] [stderr]     Checking async-channel v1.4.0
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]     Checking parking_lot v0.10.2
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking parking v1.0.6
[INFO] [stderr]     Checking termcolor v1.1.0
[INFO] [stderr]     Checking atomic-waker v1.0.0
[INFO] [stderr]     Checking typed-arena v2.0.1
[INFO] [stderr]     Checking blocking v0.4.7
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking bytemuck v1.3.1
[INFO] [stderr]     Checking regex v1.3.9
[INFO] [stderr]    Compiling futures-macro v0.3.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.20
[INFO] [stderr]    Compiling zerocopy-derive v0.2.0
[INFO] [stderr]    Compiling async-trait v0.1.38
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking zerocopy v0.3.0
[INFO] [stderr]     Checking thiserror v1.0.20
[INFO] [stderr]     Checking naga v0.2.0
[INFO] [stderr]     Checking pin-project v0.4.23
[INFO] [stderr]     Checking futures-util v0.3.5
[INFO] [stderr]     Checking gfx-backend-vulkan v0.6.1
[INFO] [stderr]     Checking wgpu-core v0.6.0
[INFO] [stderr]     Checking futures-executor v0.3.5
[INFO] [stderr]     Checking futures v0.3.5
[INFO] [stderr]     Checking wgpu v0.6.2
[INFO] [stderr]     Checking smithay-client-toolkit v0.6.6
[INFO] [stderr]     Checking winit v0.22.2
[INFO] [stderr]     Checking tensor_compute v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/tensors/cpu_tensor.rs:37:19
[INFO] [stdout]    |
[INFO] [stdout] 37 |         for _i in 0..self.shape.len() {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/tensors/cpu_tensor.rs:42:23
[INFO] [stdout]    |
[INFO] [stdout] 42 |             for _i in 0..dims_closed {
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/tensors/cpu_tensor.rs:45:23
[INFO] [stdout]    |
[INFO] [stdout] 45 |             for _i in 0..dims_closed {
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/tensors/cpu_tensor.rs:48:27
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 for _i in 0..ident - dims_closed {
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/tensors/cpu_tensor.rs:52:23
[INFO] [stdout]    |
[INFO] [stdout] 52 |             for _i in 0..dims_closed {
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/tensors/cpu_tensor.rs:59:19
[INFO] [stdout]    |
[INFO] [stdout] 59 |         for _i in 0..self.shape.len() {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tensors/cpu_tensor.rs:104:19
[INFO] [stdout]     |
[INFO] [stdout] 104 |         for _i in 0..numel {
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CpuTransferable`, `GpuTensor`
[INFO] [stdout]   --> src/tensors/gpu_tensor/gpu_ops/unary_ops/mod.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 |     use crate::{GpuTensor, CpuTransferable};
[INFO] [stdout]    |                 ^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `index_to_dim_stride::shape_strides_for_slice_range`
[INFO] [stdout]  --> src/tensors/gpu_tensor/indexing/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use index_to_dim_stride::shape_strides_for_slice_range;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/gpu_internals/shader_runner/shader_runner.rs:122:32
[INFO] [stdout]     |
[INFO] [stdout] 122 |                         range: shader_inputs.push_constants.offset..4*shader_inputs.push_constants.data.len() as u32
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/tensors/cpu_tensor.rs:37:19
[INFO] [stdout]    |
[INFO] [stdout] 37 |         for _i in 0..self.shape.len() {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/tensors/cpu_tensor.rs:42:23
[INFO] [stdout]    |
[INFO] [stdout] 42 |             for _i in 0..dims_closed {
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/tensors/cpu_tensor.rs:45:23
[INFO] [stdout]    |
[INFO] [stdout] 45 |             for _i in 0..dims_closed {
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/tensors/cpu_tensor.rs:48:27
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 for _i in 0..ident - dims_closed {
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/tensors/cpu_tensor.rs:52:23
[INFO] [stdout]    |
[INFO] [stdout] 52 |             for _i in 0..dims_closed {
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/tensors/cpu_tensor.rs:59:19
[INFO] [stdout]    |
[INFO] [stdout] 59 |         for _i in 0..self.shape.len() {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tensors/cpu_tensor.rs:104:19
[INFO] [stdout]     |
[INFO] [stdout] 104 |         for _i in 0..numel {
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]   --> src/tensors/gpu_tensor/gpu_ops/bmm/tests.rs:34:35
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let ma = GpuTensor::from((0..=19)
[INFO] [stdout]    |                                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]   --> src/tensors/gpu_tensor/gpu_ops/bmm/tests.rs:38:35
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let mb = GpuTensor::from((20..=20+19)
[INFO] [stdout]    |                                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]  --> src/tensors/gpu_tensor/gpu_ops/compare/tests.rs:6:41
[INFO] [stdout]   |
[INFO] [stdout] 6 |         let tensor_a = GpuTensor::from((0..6).map(|e| e as f32).collect(), vec![3, 2]);
[INFO] [stdout]   |                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]  --> src/tensors/gpu_tensor/gpu_ops/compare/tests.rs:7:41
[INFO] [stdout]   |
[INFO] [stdout] 7 |         let tensor_b = GpuTensor::from((0..6).map(|e| e as f32).collect(), vec![3, 2]);
[INFO] [stdout]   |                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]  --> src/tensors/gpu_tensor/gpu_ops/compare/tests.rs:8:41
[INFO] [stdout]   |
[INFO] [stdout] 8 |         let tensor_c = GpuTensor::from((1..7).map(|e| e as f32).collect(), vec![3, 2]);
[INFO] [stdout]   |                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:65:26
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let slices_info = s![0..4];
[INFO] [stdout]    |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:71:26
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let slices_info = s![1..4];
[INFO] [stdout]    |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:82:26
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let slices_info = s![0..4];
[INFO] [stdout]    |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:90:26
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let slices_info = s![1..3];
[INFO] [stdout]    |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:98:26
[INFO] [stdout]    |
[INFO] [stdout] 98 |     let slices_info = s![3..=3];
[INFO] [stdout]    |                          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:106:30
[INFO] [stdout]     |
[INFO] [stdout] 106 |     let slices_info = s![..; 1..4];
[INFO] [stdout]     |                              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:114:26
[INFO] [stdout]     |
[INFO] [stdout] 114 |     let slices_info = s![1..2; 1..4];
[INFO] [stdout]     |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:114:32
[INFO] [stdout]     |
[INFO] [stdout] 114 |     let slices_info = s![1..2; 1..4];
[INFO] [stdout]     |                                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:124:26
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let slices_info = s![0..0];
[INFO] [stdout]     |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]    --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:131:26
[INFO] [stdout]     |
[INFO] [stdout] 131 |     let slices_info = s![0..=0];
[INFO] [stdout]     |                          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:142:51
[INFO] [stdout]     |
[INFO] [stdout] 142 |     shape_strides_for_slice_range(&dim_stride, s![0..5]);
[INFO] [stdout]     |                                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `index_to_dim_stride::shape_strides_for_slice_range`
[INFO] [stdout]  --> src/tensors/gpu_tensor/indexing/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use index_to_dim_stride::shape_strides_for_slice_range;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/gpu_internals/shader_runner/shader_runner.rs:122:32
[INFO] [stdout]     |
[INFO] [stdout] 122 |                         range: shader_inputs.push_constants.offset..4*shader_inputs.push_constants.data.len() as u32
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/autograd.rs:182:9
[INFO] [stdout]     |
[INFO] [stdout] 182 |     let mut c = left.sum();
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Shared` is never used
[INFO] [stdout]  --> src/autograd.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 | type Shared<T> = Arc<RwLock<T>>;
[INFO] [stdout]   |      ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Op` is never used
[INFO] [stdout]   --> src/autograd.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | enum Op{
[INFO] [stdout]    |      ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `propagate_grad` is never used
[INFO] [stdout]   --> src/autograd.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Op{
[INFO] [stdout]    | ------- method in this implementation
[INFO] [stdout] 17 |     pub fn propagate_grad(&self, child_grad: &RawTensor){
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tensor` is never constructed
[INFO] [stdout]   --> src/autograd.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Tensor {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Tensor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VariableData` is never constructed
[INFO] [stdout]   --> src/autograd.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct VariableData{
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `VariableData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/autograd.rs:51:12
[INFO] [stdout]     |
[INFO] [stdout] 48  | impl Tensor {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 51  |     pub fn shallow_clone(&self) -> Self{
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57  |     pub fn to_vec(&self) -> Vec<f32>{
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62  |     pub fn read_lock(&self) -> RwLockReadGuard<VariableData>{
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67  |     pub fn write_lock(&self) -> RwLockWriteGuard<VariableData>{
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77  |     pub fn set_grad(&mut self, grad: Tensor){
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83  |     pub fn from_data_and_shape(data: Vec<f32>, shape: Vec<usize>) -> Self{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94  |     pub fn matmul(&self, other_var: &Tensor) -> Self{
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn exp(&self) -> Self{
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn sum(&self) -> Self{
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn backward(&self){
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_matmul_grad` is never used
[INFO] [stdout]  --> src/autograd/ops.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn set_matmul_grad(left: &Tensor, right: &Tensor, child_grad: &RawTensor){
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_exp_grad` is never used
[INFO] [stdout]   --> src/autograd/ops.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn set_exp_grad(original_input: &Tensor, child_grad: &RawTensor){
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_sum_grad` is never used
[INFO] [stdout]   --> src/autograd/ops.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn set_sum_grad(original_input: &Tensor, child_grad: &RawTensor){
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shape_strides_for_slice_range` is never used
[INFO] [stdout]  --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn shape_strides_for_slice_range<T: Into<SliceRangeInfo>>(
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/tensors/cpu_tensor.rs:171:17
[INFO] [stdout]     |
[INFO] [stdout] 171 | /                 format!(
[INFO] [stdout] 172 | |                     "tried indexing element {} when dimension length was: {}",
[INFO] [stdout] 173 | |                     *idx + 1,
[INFO] [stdout] 174 | |                     shape
[INFO] [stdout] 175 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 171 ~                 
[INFO] [stdout] 172 |                     "tried indexing element {} when dimension length was: {}",
[INFO] [stdout] 173 |                     *idx + 1,
[INFO] [stdout] 174 |                     shape
[INFO] [stdout] 175 ~                 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/mod.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 | /                 format!(
[INFO] [stdout] 20 | |                     "Start ({:?}) needs to be smaller than end ({:?}).",
[INFO] [stdout] 21 | |                     start,
[INFO] [stdout] 22 | |                     isize_end - 1
[INFO] [stdout] 23 | |                 )
[INFO] [stdout]    | |_________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 19 ~                 
[INFO] [stdout] 20 |                     "Start ({:?}) needs to be smaller than end ({:?}).",
[INFO] [stdout] 21 |                     start,
[INFO] [stdout] 22 |                     isize_end - 1
[INFO] [stdout] 23 ~                 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: public trait impl involving `Range` type
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/mod.rs:54:19
[INFO] [stdout]    |
[INFO] [stdout] 54 |         impl From<Range<$index>> for $self {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99 | impl_slice_variant_from_range!(SliceRangeInfo, SliceRangeInfo, usize);
[INFO] [stdout]    | --------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D trait-impl-range`
[INFO] [stdout]    = note: this error originates in the macro `impl_slice_variant_from_range` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: explicit usage of `Range` type in public function
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/mod.rs:56:24
[INFO] [stdout]    |
[INFO] [stdout] 56 |             fn from(r: Range<$index>) -> $self {
[INFO] [stdout]    |                        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99 | impl_slice_variant_from_range!(SliceRangeInfo, SliceRangeInfo, usize);
[INFO] [stdout]    | --------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D explicit-range`
[INFO] [stdout]    = note: this error originates in the macro `impl_slice_variant_from_range` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: public trait impl involving `RangeInclusive` type
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/mod.rs:61:19
[INFO] [stdout]    |
[INFO] [stdout] 61 |         impl From<RangeInclusive<$index>> for $self {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99 | impl_slice_variant_from_range!(SliceRangeInfo, SliceRangeInfo, usize);
[INFO] [stdout]    | --------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `impl_slice_variant_from_range` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: explicit usage of `RangeInclusive` type in public function
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/mod.rs:63:24
[INFO] [stdout]    |
[INFO] [stdout] 63 |             fn from(r: RangeInclusive<$index>) -> $self {
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99 | impl_slice_variant_from_range!(SliceRangeInfo, SliceRangeInfo, usize);
[INFO] [stdout]    | --------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `impl_slice_variant_from_range` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: public trait impl involving `RangeFrom` type
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/mod.rs:69:19
[INFO] [stdout]    |
[INFO] [stdout] 69 |         impl From<RangeFrom<$index>> for $self {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99 | impl_slice_variant_from_range!(SliceRangeInfo, SliceRangeInfo, usize);
[INFO] [stdout]    | --------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `impl_slice_variant_from_range` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: explicit usage of `RangeFrom` type in public function
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/mod.rs:71:24
[INFO] [stdout]    |
[INFO] [stdout] 71 |             fn from(r: RangeFrom<$index>) -> $self {
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99 | impl_slice_variant_from_range!(SliceRangeInfo, SliceRangeInfo, usize);
[INFO] [stdout]    | --------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `impl_slice_variant_from_range` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 | /             format!(
[INFO] [stdout] 28 | |                 "Indexing out of range! Tried to get the element \
[INFO] [stdout] 29 | |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 30 | |                 start, *shape
[INFO] [stdout] 31 | |             )
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 27 ~             
[INFO] [stdout] 28 |                 "Indexing out of range! Tried to get the element \
[INFO] [stdout] 29 |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 30 |                 start, *shape
[INFO] [stdout] 31 ~             
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 | /                 format!(
[INFO] [stdout] 43 | |                     "Indexing out of range! Tried to get the element \
[INFO] [stdout] 44 | |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 45 | |                     inclusive_end, *shape
[INFO] [stdout] 46 | |                 )
[INFO] [stdout]    | |_________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 42 ~                 
[INFO] [stdout] 43 |                     "Indexing out of range! Tried to get the element \
[INFO] [stdout] 44 |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 45 |                     inclusive_end, *shape
[INFO] [stdout] 46 ~                 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 24 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tensor_compute` (lib) due to 7 previous errors; 24 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: method `to_vec` is never used
[INFO] [stdout]   --> src/autograd.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 48 | impl Tensor {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn to_vec(&self) -> Vec<f32>{
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/tensors/cpu_tensor.rs:171:17
[INFO] [stdout]     |
[INFO] [stdout] 171 | /                 format!(
[INFO] [stdout] 172 | |                     "tried indexing element {} when dimension length was: {}",
[INFO] [stdout] 173 | |                     *idx + 1,
[INFO] [stdout] 174 | |                     shape
[INFO] [stdout] 175 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 171 ~                 
[INFO] [stdout] 172 |                     "tried indexing element {} when dimension length was: {}",
[INFO] [stdout] 173 |                     *idx + 1,
[INFO] [stdout] 174 |                     shape
[INFO] [stdout] 175 ~                 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/tensors/gpu_tensor/gpu_ops/unary_ops/mod.rs:62:33
[INFO] [stdout]    |
[INFO] [stdout] 62 |             assert!(err < 0.01, err);
[INFO] [stdout]    |                                 ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 62 |             assert!(err < 0.01, "{}", err);
[INFO] [stdout]    |                                 +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/mod.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 | /                 format!(
[INFO] [stdout] 20 | |                     "Start ({:?}) needs to be smaller than end ({:?}).",
[INFO] [stdout] 21 | |                     start,
[INFO] [stdout] 22 | |                     isize_end - 1
[INFO] [stdout] 23 | |                 )
[INFO] [stdout]    | |_________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 19 ~                 
[INFO] [stdout] 20 |                     "Start ({:?}) needs to be smaller than end ({:?}).",
[INFO] [stdout] 21 |                     start,
[INFO] [stdout] 22 |                     isize_end - 1
[INFO] [stdout] 23 ~                 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 | /             format!(
[INFO] [stdout] 28 | |                 "Indexing out of range! Tried to get the element \
[INFO] [stdout] 29 | |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 30 | |                 start, *shape
[INFO] [stdout] 31 | |             )
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 27 ~             
[INFO] [stdout] 28 |                 "Indexing out of range! Tried to get the element \
[INFO] [stdout] 29 |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 30 |                 start, *shape
[INFO] [stdout] 31 ~             
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 | /                 format!(
[INFO] [stdout] 43 | |                     "Indexing out of range! Tried to get the element \
[INFO] [stdout] 44 | |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 45 | |                     inclusive_end, *shape
[INFO] [stdout] 46 | |                 )
[INFO] [stdout]    | |_________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 42 ~                 
[INFO] [stdout] 43 |                     "Indexing out of range! Tried to get the element \
[INFO] [stdout] 44 |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 45 |                     inclusive_end, *shape
[INFO] [stdout] 46 ~                 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 32 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "dfc6ea7c15748e82149e74cdcb925e5b82c8eaba9cd6bcd9221a04f0f1030132", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfc6ea7c15748e82149e74cdcb925e5b82c8eaba9cd6bcd9221a04f0f1030132", kill_on_drop: false }`
[INFO] [stdout] dfc6ea7c15748e82149e74cdcb925e5b82c8eaba9cd6bcd9221a04f0f1030132
